#ifndef INCLUDE_bonus_1bis
#define INCLUDE_bonus_1bis

#include <allegro.h>



#define p1 76
#define p11 234
#define p2 319
#define p22 477
#define p3 561
#define p33 719
#define y_up1 92
#define y_up2 217
#define y_down1 271
#define y_down2 396
//////////////////rebecca//////////////////////////


#define nb_images_bonus 3

typedef struct {
	BITMAP *img_bravo;
	BITMAP *img_erreur;
	BITMAP *img_perdu;
        BITMAP *img_kid;
        int x, y;
}Rebecca ;
///////////////////////////////////////////////////

extern volatile int mouse_x;
extern volatile int mouse_y;
extern volatile int mouse_z;
extern volatile int mouse_b;




void load_plaques( BITMAP** plaque_s, BITMAP** plaque_mb, BITMAP** plaque_p, BITMAP** plaque_6_v);
void load_cursor(BITMAP** curseur);
void destroy_plaques( BITMAP** plaque_s, BITMAP** plaque_mb, BITMAP** plaque_p, BITMAP** plaque_6_v);
void destroy_cursor(BITMAP** curseur);
/////////////////////////rebecca////////////////////////////////////
void load_Rebecca(Rebecca *R);
void destroy_Rebecca(Rebecca *R);
void init_Rebecca(Rebecca *R);
void draw_Rebecca_bonus (Rebecca *R,BITMAP *buffer, int indice);
////////////////////////////////////////////////////////////
#endif
